package com.heu.blood.bloodtest.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heu.blood.bloodtest.vo.BloodSamplePatientReportVo;
import com.heu.blood.common.utils.PageUtils;
import com.heu.blood.bloodtest.entity.BloodSamplePatientEntity;

import java.util.Map;

/**
 * 病人血液样本表
 *
 * @author lrz
 * @email lrz@heu.com
 * @date 2023-08-28 17:09:06
 */
public interface BloodSamplePatientService extends IService<BloodSamplePatientEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据样本单号查询样本单信息
     * @param bloodSampleId
     * @return
     */
    BloodSamplePatientEntity getBySampleId(String bloodSampleId);

    /**
     * 根据样本单号查询检测报告信息
     * @param bloodSampleId
     * @return
     */
    BloodSamplePatientReportVo selectSamplePatientReport(String bloodSampleId);
}

